package com.ljx.itbbs.server.article.domain.vo.resp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-03-26  13:53
 */
@Data
public class CommentReplyResp {

    @ApiModelProperty("回复ID")
    private Long id;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("用户ID")
    private Long uid;

    @ApiModelProperty("用户昵称")
    private String nickname;

    @ApiModelProperty("用户头像")
    private String avatar;

    @ApiModelProperty("评论根ID")
    private Long commentId;

    @ApiModelProperty("回复用户ID")
    private Long replyUid;

    @ApiModelProperty("回复用户昵称")
    private String replyNickname;

    @ApiModelProperty("回复用户头像")
    private String replyAvatar;

    @ApiModelProperty("点赞量")
    private Integer likeNum;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty("创建时间")
    private Date createTime;

}
